package de.tu_darmstadt.gdi1.battleship.exceptions;

/**
 * Exception that is thrown whenever someone tries to create Coordinates out of
 * the Range of the map.
 * 
 */
public class InvalidCoordinatesException extends Exception {

	/**
	 * Creates a new instance of the InvalidCoordinatesException class
	 * 
	 * @param errorMessage
	 *            A string description of the reason why this operation is
	 *            invalid
	 */

	public InvalidCoordinatesException(String errorMessage) {
		// TODO Auto-generated constructor stub
		super(errorMessage);
	}

	/* ======================================================================== */

	/**
	 * Creates a new instance of the InvalidCoordinatesException class
	 * 
	 * @param cause
	 *            The original exception that has lead to the error
	 */

	public InvalidCoordinatesException(Throwable cause) {
		super(cause);
	}
}
